package classifiers;


import java.util.List;

import pdi.core.Image;


import de.bwaldvogel.liblinear.FeatureNode;
import de.bwaldvogel.liblinear.Parameter;
import de.bwaldvogel.liblinear.Problem;
import de.bwaldvogel.liblinear.SolverType;

public class SVMLinear extends AbstractClassifier{

	private static final SolverType solver = SolverType.L2R_LR; // -s 0
	private double C = 1.0;    // cost of constraints violation
	private double eps = 0.01; // stopping criteria
	private Parameter parameter = null;
	
	public SVMLinear(){
		parameter = new Parameter(this.solver, this.C, this.eps);
	}
	
	public SVMLinear(double C, double eps ){
		this.C = C;
		this.eps = eps;
		parameter = new Parameter(this.solver, this.C, this.eps);
	}
	
	@Override
	public void train(List<Image> trainingSamples) {		
		
	}

	@Override
	public int classify(Image testSample) {
		// TODO Auto-generated method stub
		return 0;
	}

}
